const RespFmt = require("../utils/RespFmt");
module.exports = function  pageMiddleware(req,res,page_no, page_size, q, has_coupon, sort) {
    if (Number(page_no) > 100 || page_size * 1 > 200) return res.send(RespFmt.faild('参数错误!'));
}